from tkinter import*
n = int(input())
x = int(input())
y = int(input())
if n>75 or n<0 or 20*n+x>480 or 20*n+y>480:
    print('Размер фигуры превышает максимальный размер')
else:
    a = [10*n+x, 10*n+y, 30*n+x, 10*n+y, 30*n+x, 30*n+y, 50*n+x, 30*n+y, 50*n+x, 50*n+y, 30*n+x, 50*n+y, 30*n+x, 70*n+y, 10*n+x, 70*n+y, 10*n+x, 10*n+y]
    root = Tk()
    root.title('ИТ марафон')
    root.geometry('500x500')
    canvas = Canvas(bg='white', width = 500, height = 500)
    canvas.pack(anchor = CENTER, expand = 1)
    canvas.create_polygon(a)
    canvas.create_polygon(a, fill = 'blue')
    root.mainloop()